﻿using Ending.Classes.XML;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ending.Classes.result
{
    class Rpt
    {
    }
    /// <summary>
    /// 保存处理过的日志文件信息记录
    /// </summary>
    class LogFileRecords
    {
        /// <summary>
        ///文件名
        /// </summary>
        private string fileName;
        /// <summary>
        ///读写属性文件名
        /// </summary>
        public string FileName { get => FileName; set => FileName = value; }
        /// <summary>
        ///文件大小
        /// </summary>
        private string fileSize;
        /// <summary>
        ///读写属性文件大小
        /// </summary>
        public string FileSize { get => FileSize; set => FileSize = value; }
        /// <summary>
        ///文件散列值
        /// </summary>
        private string md5;
        /// <summary>
        ///读写属性文件散列值
        /// </summary>
        public string Md5 { get => Md5; set => Md5 = value; }




    }
    /// <summary>
    /// 保存时间差信息
    /// </summary>
    class SimpleMonitorDatas
    {
        /// <summary>
        ///报文标识号
        /// </summary>
        private string msgId;
        /// <summary>
        ///读写属性报文标识号
        /// </summary>
        public string MsgId { get => MsgId; set => MsgId = value; }
        /// <summary>
        ///101102和103104
        /// </summary>
        private string xmlType;
        /// <summary>
        ///读写属性101102和103104
        /// </summary>
        public string XmlType { get => XmlType; set => XmlType = value; }
        /// <summary>
        ///LogFileList的文件
        /// </summary>
        private string fileName;
        /// <summary>
        ///读写属性LogFileList的文件
        /// </summary>
        public string FileName { get => FileName; set => FileName = value; }
        /// <summary>
        ///来账101日志记录时间
        /// </summary>
        private string time1;
        /// <summary>
        ///读写属性来账101日志记录时间
        /// </summary>
        public string Time1 { get => Time1; set => Time1 = value; }
        /// <summary>
        ///来账101的990确认报文的日志记录时间
        /// </summary>
        private string time2;
        /// <summary>
        ///读写属性来账101的990确认报文的日志记录时间
        /// </summary>
        public string Time2 { get => Time2; set => Time2 = value; }
        /// <summary>
        ///往账102的日志记录时间
        /// </summary>
        private string time3;
        /// <summary>
        ///读写属性往账102的日志记录时间
        /// </summary>
        public string Time3 { get => Time3; set => Time3 = value; }
        /// <summary>
        ///往账102的990确认的日志记录时间
        /// </summary>
        private string time4;
        /// <summary>
        ///读写属性往账102的990确认的日志记录时间
        /// </summary>
        public string Time4 { get => Time4; set => Time4 = value; }
        /// <summary>
        ///time4-time1
        /// </summary>
        private string gap1;
        /// <summary>
        ///读写属性time4-time1
        /// </summary>
        public string Gap1 { get => Gap1; set => Gap1 = value; }
        /// <summary>
        ///time3-time2
        /// </summary>
        private string gap2;
        /// <summary>
        ///读写属性time3-time2
        /// </summary>
        public string Gap2 { get => Gap2; set => Gap2 = value; }


    }

    /// <summary>
    /// 详细报文信息记录集
    /// </summary>
    class SimpleMonitorDetail
    {
        string msgId;
        MsgHeader header;
        Msg xmlDocument;
        /// <summary>
        ///LogFileList的文件
        /// </summary>
        private string fileName;
        /// <summary>
        ///读写属性LogFileList的文件
        /// </summary>
        public string FileName
        {
            get => FileName; set => FileName = value;
        }
        /// <summary>
        /// 报文标识号
        /// </summary>
        public string MsgId { get => msgId; set => msgId = value; }
        /// <summary>
        /// xml报文
        /// </summary>
        public Msg XmlDocument { get => xmlDocument; set => xmlDocument = value; }
        /// <summary>
        /// 报文头信息
        /// </summary>
        public MsgHeader Header { get => header; set => header = value; }
    }

}
